package com.yj.cloudnote.dao;

import com.yj.cloudnote.model.Pad;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PadMapper {
    int deleteByPrimaryKey(Integer padid);

    int insert(Pad record);

    int insertSelective(Pad record);

    Pad selectByPrimaryKey(Integer padid);

    List<Pad> selectByUsername(String username);

    int updateByPrimaryKeySelective(Pad record);

    int updateByPrimaryKey(Pad record);
}